#include "user.hpp"

User::User(int sock)
{
	this->sock = sock;
	name = "Anonymous";
	registered = false;
}

User::~User()
{

}

int User::getSock()
{
	return sock;
}

FString User::getName()
{
	return this->name;
}

void User::setName(FString str)
{
	this->name = str;
}

void User::registerMe()
{
	registered = true;
}

bool User::isRegistered()
{
	return registered;
}
